import 'package:flutter/material.dart';
import 'package:flutter_pro_01/components/shop_list.dart';

class MyApp12 extends StatelessWidget {
  MyApp12({super.key});
  Map goods = {
    "createTime": "2024-08-15 21:49:48",
    "orderState": 2,
    "image":
        "https://yanxuan-item.nosdn.127.net/a09de222ed32efa8ffe359b1d5780574.jpg",
    "name": "茶水分离杯耐热隔热玻璃杯",
    // "name": "茶水分离杯耐热",
    "totalNum": 2,
    "curPrice": 119.5,
    "totalMoney": 119.5,
    "attrsText": "规格:白色240ml",
  };

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('商品订单'),
        backgroundColor: const Color.fromARGB(255, 232, 221, 10),
      ),
      body: ShopList(),
    );
  }
}
